package com.jtech.together.mvp.contract;

import com.jtech.together.model.UserModel;
import com.jtech.together.mvp.base.BaseContract;

/**
 * 注册页面
 * Created by wuxubaiyang on 2017/5/10.
 */
public interface RegisterContract {
    interface Presenter extends BaseContract.Presenter {
        void register(String userName, String password);
    }

    interface View extends BaseContract.View {
        void registerSuccess(UserModel userModel);

        void registerFail(String error);
    }
}